package com.project.light.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "T_Log")
public class Log implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 模块名称
     */
    @Column(name = "ModuleName")
    private String moduleName;

    /**
     * 日期
     */
    @Column(name = "LogDate")
    private Date logDate;

    /**
     * 类型
     */
    @Column(name = "LogType")
    private String logType;

    /**
     * 操作结果
     */
    @Column(name = "ResultName")
    private String resultName;

    /**
     * 描述
     */
    @Column(name = "Description")
    private String Description;

    /**
     * 创建人用户id
     */
    @Column(name = "CreatedUser")
    private String createdUser;

    /**
     * 创建时间
     */
    @Column(name = "CreatedTime")
    private Date createdTime;
}
